<!-- 首页潜在客户Ajax更新 -->
	<tr>
		<th width="80px"><?php echo __("Companymanagename");?></th>
		<th width="50px" ><?php echo __("Companymanagetel");?></th>
		<th width="80px"><?php echo __("Companymanagecreater");?></th>
		<th width="120px"><?php echo __("Companylinkman");?></th>
		<th width="120px"><?php echo __("Companylinkposition");?></th>
		<th width="120px"><?php echo __("Companylinktel");?></th>
		<th width="120px"><?php echo __("Companylinkphone");?></th>
		<th width="10%"><?php echo __("CustomerState");?></th>
	</tr>
	<?php foreach ($companymanages as $companymanage): ?>
		<tr class=normal onmouseover='this.className= "over " '
			onmouseup='this.className= "over " '
			onmouseout='this.className= "normal " '>
			<td><?php echo $html->link($companymanage['Companymanage']['name'],array('controller'=>'companymanages', 'action'=>'initDetail', 'id'=>$companymanage['Companymanage']['id']));?>                 </td>
			<td><?php echo $companymanage['Companymanage']['tel']; ?></td>
			<td><?php echo $companymanage['Companymanage']['creater']; ?></td>
			<td><?php echo $companymanage['Companymanage']['creater']; ?></td>
			<td><?php echo $companymanage['Position']['name']; ?></td>
			<?php if(empty($companymanage['Linkman']))
				echo "<td></td>";
				else
				echo "<td>".$companymanage['Linkman'][0]['tel']."</td>"; ?>
			<?php if(empty($companymanage['Linkman']))
				echo "<td></td>";
				else
				echo "<td>".$companymanage['Linkman'][0]['mobilePhone']."</td>"; ?>
			<td><?php echo $companymanage['Companymanage']['customerStatues']; ?></td>
		</tr> 
	<?php endforeach; ?> 